package pers.cj.pdos.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import pers.cj.pdos.entity.HouseWaitInGoods;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenj
 * @since 2020-01-13
 */
public interface HouseWaitInGoodsMapper extends BaseMapper<HouseWaitInGoods> {

    void insertBatch(@Param("list") List<HouseWaitInGoods> houseWaitInGoodsList);

    long countWaitInNumber(@Param("houseWaitInId") String houseWaitInId);

    long countNumber(@Param("houseWaitInId") String houseWaitInId);

    long countHasInNumberByGoodsTransferId(@Param("goodsTransferId") String goodsTransferId);
}
